export default {
  namespaced: true,
  state: {
    routes: [
      {
        path: '/dashBoard',
        name: '仪表盘',
        role: 1
      },
      {
        path: '/userList',
        name: '用户列表',
        role: 2
      },
      {
        path: '/addGood',
        name: '新增商品',
        role: 1
      },
      {
        path: '/upDataGoods',
        name: '更新商品',
        role: 1
      },
      {
        path: '/roleList',
        name: '角色列表',
        role: 2
      },
      {
        path: '/permissionList',
        name: '权限列表',
        role: 2
      },
      {
        path: '/goodList',
        name: '商品列表',
        role: 1
      },
      {
        path: '/cateList',
        name: '商品分类',
        role: 1
      },
      {
        path: '/orderList',
        name: '订单列表',
        role: 1
      },
      {
        path: '/dataTable',
        name: '数据报表',
        role: 1
      }
    ]
  }
}